﻿/*
	Copyright (C) 2008  Ajay Handa - jmdcms.com 
	This program is free software; 
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	License for more details.
	Removing/Altering this copyright message is a violation of license terms.
*/

/*
	*** D O C U M E N T A T I O N ***
	---------------------------------
	Author: Ajay Handa
	Last Changed On: January-24-2008
	Purpose: Delete Site for given SiteID
*/


IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' 
	AND name = 'JmdSiteDelete')
BEGIN
	DROP  Procedure  dbo.JmdSiteDelete
END
GO

CREATE Procedure dbo.JmdSiteDelete
	@SiteID uniqueidentifier
AS
	Delete
		JmdSite
	Where
		Id = @SiteID

GO


